package com.work.cos.util.constants;

public class Constants
{
    /**
     * 主键增长值
     */
    public static final int SQE_ALLOCATION = 50;

    /**
     * 工程标识， web-config中配置， persistence unit 等 保持一致
     */
    public static final String PROJECT_KEY = "WebDisplayName";


    public static final String PERSISTENCE_UNIT = "persistence.unit.name";

    /**
     * 文件服务器url
     */
    public static final String URL_STATIC_RESOURCES_SERVER = "com_static_resources_server_url";
    
    /**
     * 安卓签名
     */
    public static final String   ANDROID_SIGN              = "android_sign";
    
    /**
     * IOS签名
     */
    public static final String   IOS_SIGN              = "ios_sign";
    
    /**
     * 二维码扫描前缀
     */
    public static final String QR_CODE_URL = "qr_code_url";
    /**
     * 二维码扫描默认地址
     */
    public static final String QR_DEFAULT_URL = "qr_default_url";
    
    /**
     * 移动服务器根地址
     */
    public static final String URL_APP_ROOT = "app_root_url";

    /**
     * web服务器根地址
     */
    public static final String URL_WEB_ROOT = "web_root_url";

    /**
     * 重载config的时间间隔
     */
    public static final String TIME_LOAD_CONFIG = "load_config_time";

    /**
     * 门店管理员
     */
    public static final String ROLE_STORER_ADMIN = "storerAdmin";

    /**
     * CODE_GROUP
     */
    public static final String CODE_GROUPS = "grouped_Codes";

    /**
     * CODE_GROUP : 开放城市
     */
    public static final String CODE_GROUP_OPENCITIES = "openCities";
    /**
     * CODE_GROUP : 开放银行
     */
    public static final String CODE_GROUP_OPENBANKS  = "bank";
    /**
     * CODE_GROUP : 工作类型
     */
    public static final String CODE_GROUP_OPENJOBS   = "job";
    /**
     * CODE_GROUP : 职位类型
     */
    public static final String CODE_GROUP_CATEGORY   = "category";
    /**
     * CODE_GROUP : 工作性质
     */
    public static final String CODE_JOB_TIME         = "jobTime";

    /**
     * 数据分割符="，"
     */
    public static final String SEPARATOR_JSON_DATA_SPIT = ",";
    /**
     * 分号分隔
     */
    public static final String SEPARATOR_SEMICOLON_SPIT = ";";
    public static final String SEPARATOR_TREE_SPIT      = "-";

    public static final String SEPARATOR_URI = "/";

    /**
     * 更改实体时忽略属性数组
     */
    public static final String[] IGNORE_PROPERTIES = new String[] { "id", "creater", "createTime", "updater", "updateTime", "is_logic_del", "version" };

    /**
     * 发送短信限制时间间隔
     */
    public static final String SMS_LIMIT_MIN = "sms_limit_min";

    /**
     * 限定时间间隔内发给同一号码的最大条数
     */
    public static final String SMS_TOPHONE_MAX = "sms_tophone_max";
    /**
     * 限定时间间隔内同一IP请求发送短信的最大条数
     */
    public static final String SMS_IPCALL_MAX  = "sms_ipcall_max";

    /**
     * 数字 1000
     */
    public static final int NUMBER_1000 = 1000;

    /**
     * 一天的毫秒数
     */
    public static final long MILLISECOND_OF_ONE_DAY = 86400000l;

    /**
     * session 保持时间
     * 默认为 30min
     *
     * 1000毫秒*60*60*10 = 10小时
     */
    public static final long GLOBAL_SESSION_TIMEOUT = 36000000l;

    /**
     * android 版本
     */
    public static final String KEY_MAP_ANDROID_APP_VERSION = "android_app_version";

    /**
     * android更新路径 版本
     */
    public static final String KEY_MAP_ANDROID_APP_UPDATE_PATH = "android_app_update_path";

    /**
     * android 版本发布说明
     */
    public static final String KEY_MAP_ANDROID_APP_DESCRIPTION = "android_app_description";

    /**
     * code key -- 短信目的
     */
    public static final String KEY_CODE_TYPE_NOTICE_GOAL = "notice_goal";

    /**
     * 消息推送是否生产环境
     */
    public static final String UMENG_NOFIFY_IS_PRO = "nofify_is_pro";

    /**
     * umeng 推送接口地址
     */
    public static final String UMENG_API_SEND_URL              = "umeng_api_send_url";

    /**
     * umeng 推送文件接口地址
     */
    public static final String UMENG_API_FILE_URL              = "umeng_api_file_url";

    /**
     * umeng appkey
     */
    public static final String UMENG_ANDROID_APPKEY            = "umeng_appkey";
    /**
     * umeng app master secret
     */
    public static final String UMENG_ANDROID_APP_MASTER_SECRET = "umeng_app_master_secret";

    /**
     * umeng appkey
     */
    public static final String UMENG_IOS_APPKEY            = "umeng_ios_appkey";
    /**
     * umeng app master secret
     */
    public static final String UMENG_IOS_APP_MASTER_SECRET = "umeng_ios_app_master_secret";


    /**
     * 可选 当type=customizedcast时，必填，alias的类型, alias_type可由开发者自定义 ; 开发者在SDK中调用setAlias(alias,alias_type)时所设置的alias_type
     */
    public static final String UMENG_SEND_ALIAS_TYPE   = "umeng_api_send_alias_type";

    /**
     * umeng 消息提示
     */
    public static final String UMENG_NOTICE_TICKER     = "umeng_notice_ticker";
    /**
     * umeng 消息标题
     */
    public static final String UMENG_NOTICE_TITLE      = "umeng_notice_title";

    /**
     * umeng 消息描述
     */
    public static final String UMENG_DESCRIPTION         = "umeng_description";


    /**
     * 每页显示记录数
     */
    public static final int PAGE_RECORDS = 20;

    /**
     * 分页显示
     */
    public static final String PAGE_VIEWS = "pageViews";

    /**
     * 单页显示
     */
    public static final String FORM_VIEWS = "formViews";

    /**
     * com message key : operator success
     */
    public static final String MSG_COM_OPERATOR_SUCCESS = "com.operatorSuccess";
    /**
     * str-key 外部角色 ： 普通注册用户
     */
    public static final String ROLE_OUT_MEMBER = "member";


    /**
     * str-key 全部角色
     */
    public static final String ROLES     = "roles";
    /**
     * str-key 外部角色
     */
    public static final String ROLES_OUT = "outRoles";
    /**
     * str-key 内部角色
     */
    public static final String ROLES_IN  = "inRoles";

    /**
     * 注册用户默认头像地址
     */
    public static final String DEFAULT_MEMBER_HEADPIC_URL = "default_member_headpic_url";
    
}
